package bond;

import java.util.regex.Pattern;

public class JamesBond {
	public Boolean bondRegex(String input)
	{
		return Pattern.matches("([\\d]|[)]|[(])*?[(]([\\d]|[)]|[(])*?[0][0][7]([\\d]|[)]|[(])*?[)]([\\d]|[)]|[(])*", input);
	}
}
